package com.nbufe.chain;

/**
 * @Author Zan
 * @Create 2024/6/17 8:27
 * @ClassName: GeneralManager
 * @Description : TODO 请用一句话描述该类的功能
 */
public class GeneralManager extends Handler {

    public GeneralManager() {
        super(NUM_TWENTY, NUM_THIRTY);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天," + leave.getContent() + "。");
        System.out.println("总经理审批：同意。");
    }
}
